package com.sps.business.mapper;

import java.util.Date;
import java.util.List;
import com.sps.business.domain.CcOrderInfo;

/**
 * 订单信息Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-11
 */
public interface CcOrderInfoMapper 
{
    /**
     * 查询订单信息
     * 
     * @param id 订单信息主键
     * @return 订单信息
     */
    public CcOrderInfo selectCcOrderInfoById(Long id);

    /**
     * 查询订单信息列表
     * 
     * @param ccOrderInfo 订单信息
     * @return 订单信息集合
     */
    public List<CcOrderInfo> selectCcOrderInfoList(CcOrderInfo ccOrderInfo);

    /**
     * 新增订单信息
     * 
     * @param ccOrderInfo 订单信息
     * @return 结果
     */
    public int insertCcOrderInfo(CcOrderInfo ccOrderInfo);

    /**
     * 修改订单信息
     * 
     * @param ccOrderInfo 订单信息
     * @return 结果
     */
    public int updateCcOrderInfo(CcOrderInfo ccOrderInfo);

    /**
     * 删除订单信息
     * 
     * @param id 订单信息主键
     * @return 结果
     */
    public int deleteCcOrderInfoById(Long id);

    /**
     * 批量删除订单信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCcOrderInfoByIds(Long[] ids);

    Long selectCcOrderInfoCountByOrderCode(String orderCode);

    List<CcOrderInfo> selectCcOrderInfoListGroup(CcOrderInfo ccOrderInfo);

    List<CcOrderInfo> selectCcOrderInfoByOrderCode(String orderCode);

    String selectCcOrderInfoByMaxRes1(String date);

    int updateCcOrderInfoFjCode(String resultStr, String status,String xlh, String fjTime, String fjUser, String orderCode, String spsArea);

    List<CcOrderInfo> selectCcOrderInfoListGroupFj(CcOrderInfo ccOrderInfo);

    int updateCcOrderDyInfoStatus(CcOrderInfo ccOrderInfo);

    int updateCcOrderInfoFjCodeRes5(String res1, String res5);

    CcOrderInfo selectCcOrderInfoByLabCode(String sid, String res5);

    Long selectCcOrderInfoCountByFj(String res5);

    int deleteCcOrderInfoByOrderCode(String orderCode);

    Long selectCcOrderInfoByMaxXlh(String dateTime);
}
